<html>
  <head>
    <title>Express</title>
    <link rel="stylesheet" href="/stylesheets/style.css" />
    <!-- 引入样式 -->
    <link
      rel="stylesheet"
      href="https://unpkg.com/element-ui/lib/theme-chalk/index.css"
    />
    <style>
      .not_visible{
            display: none;
      }
    </style>
  </head>

  <body>
    <div id="app">
      <router-view></router-view>
    </div>
  </body>
  <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
  <!-- 引入组件库 -->
  <script src="https://unpkg.com/element-ui/lib/index.js"></script>
  <!-- 引入 vue-router -->
  <script src="https://unpkg.com/vue-router/dist/vue-router.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
  <script>
    // Vue.component("login", {
    //   template: `
    //     <div>
    //         <label></label>
    //     </div>
    // `,
    // });
    let routes = [
      {
        path: "/login",
        component:()=>import("./javascripts/Login.js")
      },
      {
        path: "/dashboard",
        component:()=>import("./javascripts/Dashboard.js")
      },
    ];
    let router = new VueRouter({
      routes,
    });
    let vm = new Vue({
      router,
      el: "#app",
    });
  </script>
</html>
